/* 容器的样式 */
.smart-container {
    padding: 15rpx;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    border-radius: 16rpx;
    box-shadow: 
        inset 0 2rpx 8rpx rgba(255, 255, 255, 0.9),
        0 4rpx 15rpx rgba(0, 150, 136, 0.15);
    backdrop-filter: blur(10rpx);
    border: 1rpx solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.smart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4rpx;
    background: linear-gradient(90deg, #26c6da, #00bcd4, #26c6da);
    opacity: 0.8;
}

.smart-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-15deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* 面板的样式 */
.smart-panel {
    margin-bottom: 16rpx;
}

/* 面板标题的样式 */
.smart-panel-title {
    background: linear-gradient(135deg, #26c6da 0%, #00bcd4 100%);
    font-size: 28rpx;
    font-weight: 600;
    padding: 20rpx 24rpx;
    flex-direction: row;
    color: #ffffff;
    text-shadow: 0 1rpx 2rpx rgba(0, 0, 0, 0.1);
    box-shadow: 0 4rpx 12rpx rgba(0, 188, 212, 0.25);
    border-radius: 12rpx 12rpx 0 0;
}

/* 面板段落的样式 */
.smart-panel-h {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    flex-direction: row;
    align-items: center;
    padding: 20rpx;
    margin-bottom: 2rpx;
    border-left: 6rpx solid #4db6ac;
    box-shadow: inset 0 1rpx 3rpx rgba(255, 255, 255, 0.8);
    border-radius: 8rpx;
}

/* 页面头部 */
.smart-page-head {
    padding: 50rpx 30rpx;
    text-align: center;
    background: linear-gradient(135deg, #26c6da 0%, #00bcd4 50%, #0097a7 100%);
    border-radius: 24rpx;
    margin: 24rpx;
    box-shadow: 
        0 12rpx 30rpx rgba(0, 150, 136, 0.3),
        inset 0 1rpx 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.smart-page-head::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    opacity: 0.6;
}

.smart-page-head-title {
    font-size: 36rpx;
    height: 100rpx;
    line-height: 100rpx;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 
        0 2rpx 4rpx rgba(0, 0, 0, 0.2),
        0 0 20rpx rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

/* 横向布局 */
.smart-padding-wrap {
    padding: 0 30rpx;
}

.section-title {
    margin: 40rpx 0 25rpx;
    font-size: 32rpx;
    color: #00695c;
    font-weight: 600;
    padding-left: 20rpx;
    border-left: 8rpx solid #26c6da;
    background: linear-gradient(to right, rgba(38, 198, 218, 0.1), transparent);
}

/* Flex布局基础 */
.smart-flex {
    display: flex;
    margin-bottom: 25rpx;
    border-radius: 16rpx;
    overflow: hidden;
    box-shadow: 0 6rpx 20rpx rgba(0, 150, 136, 0.15);
    transition: all 0.3s ease;
}

.smart-flex:active {
    transform: translateY(2rpx);
    box-shadow: 0 3rpx 12rpx rgba(0, 150, 136, 0.2);
}

.smart-row {
    flex-direction: row;
}

.flex-item {
    flex: 1;
    height: 160rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32rpx;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #4db6ac 0%, #26a69a 100%);
}

.flex-item:active {
    filter: brightness(0.95);
    transform: scale(0.98);
}

/* 纵向布局 */
.smart-column {
    flex-direction: column;
}

.flex-item-100 {
    width: 100%;
    height: 140rpx;
    line-height: 140rpx;
    text-align: center;
    background: linear-gradient(135deg, #80deea 0%, #4dd0e1 100%);
}

/* 其他布局样式 */
.other-layouts, .advanced-layouts {
    margin-bottom: 40rpx;
}

/* 固定宽度样式 */
.fixed-width {
    width: 400rpx;
}

.fixed-width-small {
    width: 250rpx;
}

/* 布局对齐样式 */
.center {
    justify-content: center;
}

.flex-end {
    justify-content: flex-end;
}

.space-between {
    justify-content: space-between;
}

.space-around {
    justify-content: space-around;
}

.align-center {
    align-items: center;
}

/* 弹性布局样式 */
.flex-1 {
    flex: 1;
}

.wrap {
    flex-wrap: wrap;
}

.wrap-item {
    flex: 0 0 calc(50% - 24rpx);
    margin: 12rpx;
    box-sizing: border-box;
    background: linear-gradient(135deg, #a7ffeb 0%, #64ffda 100%);
}

/* 文本样式 */
.text {
    margin: 15rpx 12rpx;
    padding: 0 25rpx;
    background: linear-gradient(135deg, #26c6da 0%, #00bcd4 50%, #0097a7 100%);
    height: 80rpx;
    line-height: 80rpx;
    color: white;
    font-size: 26rpx;
    border-radius: 16rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 
        0 6rpx 16rpx rgba(0, 188, 212, 0.3),
        inset 0 1rpx 0 rgba(255, 255, 255, 0.3),
        inset 0 -2rpx 4rpx rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0.5rpx;
    text-shadow: 0 1rpx 2rpx rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.text:hover {
    transform: translateY(-2rpx);
    box-shadow: 
        0 8rpx 20rpx rgba(0, 188, 212, 0.4),
        inset 0 1rpx 0 rgba(255, 255, 255, 0.4),
        inset 0 -2rpx 4rpx rgba(0, 0, 0, 0.1);
}

.text:hover::before {
    left: 100%;
}

.text:active {
    transform: translateY(1rpx);
    box-shadow: 
        0 2rpx 8rpx rgba(0, 188, 212, 0.3),
        inset 0 1rpx 0 rgba(255, 255, 255, 0.2),
        inset 0 2rpx 4rpx rgba(0, 0, 0, 0.1);
}

.text::after {
    content: '';
    position: absolute;
    top: 1rpx;
    left: 1rpx;
    right: 1rpx;
    bottom: 1rpx;
    border-radius: 14rpx;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* 确保flex项目正确显示 */
.flex-item, .flex-item-100, .text {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 滚动样式 */
.scroll-view-item{
    width: 100%;
    height: 300rpx;
    line-height: 300rpx;
    background: linear-gradient(135deg, #b2ebf2 0%, #80deea 100%);
}
.scroll-x{
    white-space: nowrap;
    width: 100%;
}
.scroll-y{
    height: 300rpx;
}
.scroll-view-item-h{
    display: inline-block;
    height: 300rpx;
    width: 100%;
    line-height: 300rpx;
    text-align: center;
    background: linear-gradient(135deg, #b2ebf2 0%, #80deea 100%);
}
/* 滑动样式 */
.swiper-item{
    display: block;
    height: 300rpx;
    line-height: 300rpx;
    text-align: center;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
}

/* text文本样式 */
.text-box {
    margin: 30rpx 20rpx 40rpx;
    padding: 40rpx 30rpx;
    display: flex;
    min-height: 300rpx;
    background: linear-gradient(135deg, #26c6da 0%, #0097a7 100%);
    border-radius: 20rpx;
    justify-content: center;
    align-items: center;
    font-size: 30rpx;
    color: #ffffff;
    line-height: 1.8;
    text-align: center;
    box-shadow: 
        0 8rpx 25rpx rgba(0, 150, 136, 0.3),
        inset 0 1rpx 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10rpx);
    border: 1rpx solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.text-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4rpx;
    background: linear-gradient(90deg, #26c6da, #ffffff, #26c6da);
    opacity: 0.8;
}

.text-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-15deg);
    animation: shimmer 3s infinite;
}

.text-box:active {
    transform: translateY(2rpx);
    box-shadow: 
        0 4rpx 15rpx rgba(0, 150, 136, 0.4),
        inset 0 1rpx 0 rgba(255, 255, 255, 0.2);
}

/* 新增颜色变体 */
.flex-item.primary {
    background: linear-gradient(135deg, #26c6da 0%, #00bcd4 100%);
}

.flex-item.success {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
}

.flex-item.warning {
    background: linear-gradient(135deg, #ffb74d 0%, #ffa726 100%);
}

.flex-item.info {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
}
/* 背景色 */
.smart-bg-red {
	background: linear-gradient(135deg, #FF6B9D 0%, #FF8E8E 50%, #FFA8C8 100%);
}

.smart-bg-green {
	background: linear-gradient(135deg, #00E576 0%, #00E0F3 100%);
}

.smart-bg-blue {
	background: linear-gradient(135deg, #3D7EFF 0%, #00FEFE 100%);
}

/* 进度条样式 */
.progress-box {
	height: 50rpx;
	margin-bottom: 60rpx;
}
.progress-control button {
	margin: 20rpx;
}

/* 按钮样式*/
.mini-btn{
	margin: 30rpx;
}

/* 复选框页面 */
.item {
  margin-bottom: 32rpx;
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
  border-radius: 16rpx;
  border: 1rpx solid #f0f2ff;
  box-shadow: 0 6rpx 24rpx rgba(92, 107, 192, 0.08);
  position: relative;
  overflow: hidden;
}

.item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6rpx;
  height: 100%;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.list {
  justify-content: flex-start;
  padding: 0;
}

.list view {
  padding: 32rpx 40rpx;
  border-bottom: 1rpx solid #f0f4ff;
  color: #444;
  font-size: 30rpx;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.list view:last-child {
  border-bottom: none;
}

.list view:hover {
  background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
  transform: translateX(8rpx);
  box-shadow: inset 4rpx 0 0 #667eea;
}

.list view::before {
  content: "✓";
  margin-right: 20rpx;
  width: 36rpx;
  height: 36rpx;
  border: 2rpx solid #e0e6ff;
  border-radius: 8rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20rpx;
  color: transparent;
  transition: all 0.3s ease;
}

.list view:hover::before {
  border-color: #667eea;
  background: #667eea;
  color: white;
}